package com.ruoyi.project.system.mapper;

import com.ruoyi.project.system.domain.BeiDiao.Misconduct;
import com.ruoyi.project.system.domain.BeiDiao.Qualification;
import com.ruoyi.project.system.domain.dto.BeiDiaoReportBody;
import com.ruoyi.project.system.domain.dto.JudiciaryDto;
import com.ruoyi.project.system.domain.BeiDiao.ThreeElement;
import com.ruoyi.project.system.domain.BeiDiaoBase;
import com.ruoyi.project.system.domain.dto.BeiDiaoDto;
import com.ruoyi.project.system.domain.vo.AuthelecDto;
import com.ruoyi.project.system.domain.vo.BaseReport;
import com.ruoyi.project.system.domain.vo.BeiDiaoSearch;
import com.ruoyi.project.system.domain.vo.BeiDiaoVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 进件记录Mapper接口
 */
@Mapper
public interface TzBeiDiaoMapper {

    int updateBeiDiao(BeiDiaoBase beiDiaoBase);

    Map<String, Object> photo(String orderNo);

    List<BeiDiaoVo> selectBeiDiaoList(BeiDiaoSearch bds);

    int selectBeiDiaoReportCount(String orderNo);

    int insertBeiDiao(BeiDiaoDto beiDiaoDto);

    int insertBeiDiaoReport(BeiDiaoReportBody bdrb);

    BeiDiaoVo selectBeiDiao(String orderNo);

    BeiDiaoBase selectBeiDiaoById(Integer id);

    String selectAuthelecByOrderNo(String orderNo);

    int insertAuthelec(AuthelecDto authelecDto);

    int updateAuthelec(AuthelecDto authelecDto);

    BaseReport selectBeiDiaoBaseReportByOrderNo(String orderNo);

    int insertBaseReport(BaseReport br);

    int insertBeiDiaoSys(ThreeElement te);

    int insertBeiDiaoSfss(JudiciaryDto judiciaryDto);

    int insertBeiDiaoBlxw(Misconduct misconduct);

    int insertBeiDiaoXl(Qualification qualification);

    ThreeElement selectBeiDiaoSys(String orderNo);

    JudiciaryDto selectBeiDiaoSfss(String orderNo);

    Misconduct selectBeiDiaoBlxw(String orderNo);

    Qualification selectBeiDiaoXl(String orderNo);

}
